export interface IDeviceInfo {
  id: number;
  deviceCode: string;
  deviceName: string;
  gwDevCode: string;
  productCode: string;
  delFlag: number;
  enableStatus: number;
  activeStatus: number;
  storageStrategy?: any;
  lastOnlineTime: string;
  createTime: string;
  updateTime: string;
  deviceSecret: string;
  devHost: string;
  devPort: number;
  productName: string;
  nodeType: string;
  productDesc: string;
}

export interface IModuleGetParam {
  deviceCode: string;
  productCode: string;
  type: string;
}

export interface IModuleInfo {
  deviceName: string;
  propName: string;
  identifier: string;
  value: string;
  unit?: any;
  unitName?: any;
  dataType: string;
  arrivedTime?: any;
}
